package com.hrb.monkey;

import android.app.Application;
import android.bluetooth.BluetoothClass;
import android.content.Context;

import com.uuzuche.lib_zxing.activity.ZXingLibrary;

import cn.jpush.android.api.JPushInterface;

public class CustomApplication extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        //极光推送
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);
        //二维码调用
        ZXingLibrary.initDisplayOpinion(this);
    }
    public static Context getContext(){
        return  context;
    }

}
